.center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.box {
  width: 100px;
  height: 100px;
}
.box div {
  display: flex;
  justify-content: center;
  align-items: center;
}
.box:hover {
  background-color: red;
}
